/*-
 * ThirdPartBusiException.java
 *
 * Date: 2017年3月27日
 * Time: 上午11:25:14
 *
 * 版权所有©2012-2013 rengh
 */

package com.lmx.thirdPart;

/**
 * 第三方接口异常处理类
 * 
 * @author lmx
 * @version 1.00
 */
public class ThirdPartBusiException extends Exception {
    String code = null;
    String subCode = null;
    Integer exType = 0;//异常类别，0业务异常，1为IO异常
    
    public ThirdPartBusiException(){
        
    }
    public ThirdPartBusiException(Integer exType){
        this.exType = exType;
    }
    public ThirdPartBusiException(String code,String subCode){
        super(code);
        this.code = code;
        this.subCode = subCode;
        
    }
    
    
    public Integer getExType() {
        return exType;
    }

    public void setExType(Integer exType) {
        this.exType = exType;
    }


    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getSubCode() {
        return subCode;
    }
    public void setSubCode(String subCode) {
        this.subCode = subCode;
    }
    @Override
	public String getMessage() {
        return message;
    }
    public void setMessage(String message) {
        this.message = message;
    }
    String message = null;
}
